package com.simulation.web.domain;

import lombok.Data;

@Data
public class TechUserPostFollow {
	/** 点赞ID，主键，自增 */
	private Long id;
	/** 项目ID */
	private Long postId;
	/** 用户ID */
	private Long userId;

	@Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
        TechUserPostFollow that = (TechUserPostFollow) o;
        return id.equals(that.id);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(id);
    }
    
    @Override
    public String toString() {
        return "TechUserPostFollow{" +
				"id=" + id +
						",postId='" + postId + "'" + 
						",userId='" + userId + "'" + 
		                '}';
    }
	
}